package li.nibble.twittertido.beans;


public class Tweet {
    private Integer id;
    private String tweet;
    private String urlImage;
    private int likes;
    private int dislikes;
    private String date;
    private String user;
    private boolean isOptionsOpen;
    private boolean isVotado;
    
    public static final int LIKE = 1;
    public static final int DISLIKE = -1;

    public Tweet() {
    	this.isOptionsOpen = false;
    }

    public Tweet(Integer id) {
        this.id = id;
        this.isOptionsOpen = false;
    }

    /**
	 * @return the isOpen
	 */
	public boolean isOptionsOpen() {
		return isOptionsOpen;
	}

	/**
	 * @param isOpen the isOpen to set
	 */
	public void setOptionsOpen(boolean isOptionsOpen) {
		this.isOptionsOpen = isOptionsOpen;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTweet() {
        return tweet;
    }

    public void setTweet(String tweet) {
        this.tweet = tweet;
    }

    public String getUrlImage() {
        return urlImage;
    }

    public void setUrlImage(String urlImage) {
        this.urlImage = urlImage;
    }

    public int getLikes() {
        return likes;
    }

    public void setLikes(int likes) {
        this.likes = likes;
    }

    public int getDislikes() {
        return dislikes;
    }

    public void setDislikes(int dislikes) {
        this.dislikes = dislikes;
    }

    public String getDate() {
        return date;
    }

    /**
	 * @return the user
	 */
	public String getUser() {
		return user;
	}

	/**
	 * @param user the user to set
	 */
	public void setUser(String user) {
		this.user = user;
	}

	public void setDate(String date) {
        this.date = date;
    }

	/**
	 * @return the isVotado
	 */
	public boolean isVotado() {
		return isVotado;
	}

	/**
	 * @param isVotado the isVotado to set
	 */
	public void setVotado(boolean isVotado) {
		this.isVotado = isVotado;
	}    
	
	
}
